package const_variable_2

import "fmt"

func Test() {
	var a int = 100
	var b = 3.14
	c := 10
	fmt.Println(a, b, c)
	a = 102
	b = 5.220
	//c = true // cannot use true (untyped bool constant) as int value in assignment
	fmt.Println(a, b, c)
	d := true
	e := complex(1, 2)
	f := "hello go world"
	fmt.Println(d, e)
	fmt.Println(len(f))
	fmt.Println(f[0])
	var (
		name   string  = "zhangsan"
		age    int     = 18
		height float32 = 181.5
	)
	fmt.Println(name, age, height)
}
